/*
 * Copyright 2010 J Patrick Davenport
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package v4view.web;

public class Li extends ChildbearingPageElement implements ICoreAttributes, IMouseEvents<Li>, ILanguageAttributes<Li> {
	private static final String	LI_TAG	= "li";

	{
		this.setTag(LI_TAG);
		this.setSupportsAttributes(true);
	}

	@Override
	public String getCssClass() {
		return this.getAttributeValue(CSS_CLASS_KEY);
	}

	@Override
	public String getId() {
		return this.getAttributeValue(ID_KEY);
	}

	@Override
	public String getStyle() {
		return this.getAttributeValue(STYLE_KEY);
	}

	@Override
	public String getTitle() {
		return this.getAttributeValue(TITLE_KEY);
	}

	@Override
	public Li setCssClass(final String _value) {
		return (Li) this.setAttribute(CSS_CLASS_KEY, _value);
	}

	@Override
	public Li setId(final String _value) {
		return (Li) this.setAttribute(ID_KEY, _value);
	}

	@Override
	public Li setStyle(final String _value) {
		return (Li) this.setAttribute(STYLE_KEY, _value);
	}

	@Override
	public Li setTitle(final String _value) {
		return (Li) this.setAttribute(TITLE_KEY, _value);
	}

	@Override
	public Li setDir(final String _value) {
		return (Li) this.setAttribute(DIR_KEY, _value);
	}

	@Override
	public Li setLang(final String _lang) {
		return (Li) this.setAttribute(LANG_KEY, _lang);
	}

	@Override
	public Li setXmlLang(final String _xmlLang) {
		return (Li) this.setAttribute(XML_LANG_KEY, _xmlLang);
	}

	@Override
	public String getDir() {
		return this.getAttributeValue(DIR_KEY);
	}

	@Override
	public String getLang() {
		return this.getAttributeValue(LANG_KEY);
	}

	@Override
	public String getXmlLang() {
		return this.getAttributeValue(XML_LANG_KEY);
	}

	@Override
	public Li setOnClick(final String _scriptlet) {
		return (Li) this.setAttribute(ON_MOUSECLICK_EVENT_KEY, _scriptlet);
	}

	@Override
	public Li setOnDblClick(final String _scriptlet) {
		return (Li) this.setAttribute(ON_MOUSEDBLCLICK_EVENT_KEY, _scriptlet);
	}

	@Override
	public Li setOnMouseDown(final String _scriptlet) {
		return (Li) this.setAttribute(ON_MOUSEDOWN_EVENT_KEY, _scriptlet);
	}

	@Override
	public Li setOnMouseMove(final String _scriptlet) {
		return (Li) this.setAttribute(ON_MOUSEMOVE_EVENT_KEY, _scriptlet);
	}

	@Override
	public Li setMouseOut(final String _scriptlet) {
		return (Li) this.setAttribute(ON_MOUSEOUT_EVENT_KEY, _scriptlet);
	}

	@Override
	public Li setMouseOver(final String _scriptlet) {
		return (Li) this.setAttribute(ON_MOUSEOVER_EVENT_KEY, _scriptlet);
	}

	@Override
	public Li setMouseUp(final String _scriptlet) {
		return (Li) this.setAttribute(ON_MOUSEUP_EVENT_KEY, _scriptlet);
	}

	@Override
	public String getOnClick() {
		return this.getAttributeValue(ON_MOUSECLICK_EVENT_KEY);
	}

	@Override
	public String getOnDblClick() {
		return this.getAttributeValue(ON_MOUSEDBLCLICK_EVENT_KEY);
	}

	@Override
	public String getOnMouseDown() {
		return this.getAttributeValue(ON_MOUSEDOWN_EVENT_KEY);
	}

	@Override
	public String getOnMouseMove() {
		return this.getAttributeValue(ON_MOUSEMOVE_EVENT_KEY);
	}

	@Override
	public String getMouseOut() {
		return this.getAttributeValue(ON_MOUSEOUT_EVENT_KEY);
	}

	@Override
	public String getMouseOver() {
		return this.getAttributeValue(ON_MOUSEOVER_EVENT_KEY);
	}

	@Override
	public String getMouseUp() {
		return this.getAttributeValue(ON_MOUSEUP_EVENT_KEY);
	}
}
